$OpenBSD: patch-CMakeLists_txt,v 1.1 2014/11/04 15:04:14 dcoppa Exp $
--- CMakeLists.txt.orig	Tue Nov  4 16:02:42 2014
+++ CMakeLists.txt	Tue Nov  4 16:03:22 2014
@@ -36,8 +36,8 @@ set(INSTALL_EXECPREFIX ${INSTALL_PREFIX} CACHE PATH ""
 set(INSTALL_BINDIR ${INSTALL_PREFIX}/bin CACHE PATH "Binary files installation directory")
 set(MAN_INSTALLDIR ${INSTALL_PREFIX}/share/man CACHE PATH "Path for manual pages") 
 
-set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb3 -DDEBUG -Wall -Wno-pointer-sign -pg" CACHE STRING "" FORCE)
-set(CMAKE_C_FLAGS_RELEASE "-O2 -w" CACHE STRING "" FORCE)
+set(CMAKE_C_FLAGS_DEBUG "-ggdb3 -DDEBUG -Wall -Wno-pointer-sign -pg" CACHE STRING "" FORCE)
+set(CMAKE_C_FLAGS_RELEASE "-w" CACHE STRING "" FORCE)
 
 if(OS_DARWIN)
 set(CMAKE_EXE_LINKER_FLAGS "-Wl" CACHE STRING "" FORCE)
